package com.ihteima.service;

import com.ihteima.pojo.Article;
import com.ihteima.pojo.PageBean;

/**
 * ClassName: ArticleService
 * Package: com.ihteima.service
 * Description:
 *
 * @Auther gongkaiming
 * @Create 2025/10/26 21:06
 * @Version 1.0
 */
public interface ArticleService {

    //新增文章
    void add(Article article);

    //条件分页列表查询
    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);
}
